'use strict';

const Controller = require('../core/base_controller');

class BrokerController extends Controller {
    // 获取经纪人列表
    async getList() {
        await this.broker('getList')
    }
    // 删除经纪人
    async delBroker() {
        await this.broker('delBroker')
    }
    // 修改经纪人数据
    async brokerChange() {
        await this.broker('brokerChange')
    }
    // 新增经纪人
    async addBroker() {
        await this.broker('addBroker')
    }
    // 编辑经纪人
    async editBroker() {
        await this.broker('editBroker')
    }
}

module.exports = BrokerController;